package net.discard.dao;

import net.discard.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Discard
 * @date 06/02/2119:55
 */
public interface UserRepository extends JpaRepository<User, Long> {

    public User findByOpenid(String code);
}
